<template>
    <div id="new-course">
        <Title title="最新课程"/>
        <div class="image">
            <img src="./images/k1.png"/>
        </div>
        <h1 class="inner">前端小白入门课</h1>
        <div class="describe">
            <div class="base-info">
                <div class="course-number">
                    <span>5步骤/33节课</span>
                </div>
                <div class="number-of-people">
                    <span><i class="el-icon-user"></i>2978</span>
                </div>
                <div class="grade">
                    <span>评分 9.88</span>
                </div>
            </div>

            <div class="description">
                <span>
                    从小白到老司机，学会HTML、CSS、JS、jQuery基础，独立开发挂号平台网页！
                </span>
            </div>
            <div class="base-info-bottom">
                <div class="price">
                    <span>￥568.00</span>
                </div>
                <div class="add-cart">
                <span>
                    加入购物车
                </span>
                </div>
            </div>

        </div>
    </div>
</template>
<!--最新课程-->
<script>
    import Title from "../../../../component/title/Title";

    export default {
        name: "NewCourse",
        components: {
            Title
        }
    }
</script>

<style lang="less">
    #new-course {
        margin-top: 50px;
        .image{
            margin-top: 25px;
        }
        .inner{
            font-weight: bold;
            font-size: 16px;
            margin-top: 10px;
            margin-bottom: 10px;
        }
    }
    .description{
        margin-top: 10px;
        color: #9EA3A8;
        width: 300px;
    }
    .base-info{
        margin-top: 10px;
        color: #9EA3A8;
        display: flex;
        width: 300px;
        justify-content: space-between;
        .number-of-people{

            i{
                margin-right: 10px;
            }
        }
    }
    .base-info-bottom{
        display: flex;
        justify-content: space-between;
        font-size: 14px;
        margin-top: 20px;
        .add-cart{
            color: #9EA3A8;
            margin-right: 20px;
        }
    }
</style>
